Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductRepository S

Total Complexity 34
Dependencies 7
Dependents 8
Total lines 469
Lines of code 220
Logical lines of code 73
Comment lines 195
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
prepare_query_args()
S
60 5 15
filter_sync_ready_products()
S
62 5 11
find_all_synced_google_ids()
S
55 3 19
get_sync_ready_products_query_args()
S
61 3 12
find_presync_error_product_ids()
S
57 1 18
find_mc_synced_product_ids()
S
58 1 16
find_mc_not_synced_product_ids()
S
58 1 16
get_presync_error_products_meta_query()
S
61 1 15
find_expiring_product_ids()
S
59 1 15
get_sync_ready_products_meta_query()
S
62 1 14
get_valid_products_meta_query()
S
62 1 14
execute_woocommerce_query()
S
72 1 5
__construct()
S
77 1 4
find()
S
74 1 4
find_sync_ready_product_ids()
S
74 1 4
find_sync_ready_products()
S
74 1 4
get_synced_products_meta_query()
S
69 1 8
find_synced_product_ids()
S
74 1 4
find_synced_products()
S
74 1 4
find_by_ids()
S
74 1 4
find_ids()
S
74 1 4
find_sync_pending_product_ids()
S
64 1 10